Skip to content

feat: v1.1 entry — @deepcode/vscode + @deepcode/lsp scaffolds#55

Merged
oratis merged 1 commit into
mainfrom
feat/v1.1-vscode-lsp
May 28, 2026
Merged

feat: v1.1 entry — @deepcode/vscode + @deepcode/lsp scaffolds#55
oratis merged 1 commit into
mainfrom
feat/v1.1-vscode-lsp

Conversation

@oratis

@oratis oratis commented May 28, 2026

Copy link
Copy Markdown
Owner

Two new packages. apps/vscode: extension manifest + activate/deactivate + ChatViewProvider webview. apps/lsp: stdio LSP server + JSON-RPC handler exposing 3 commands (runAgent/abort/listSkills) + streams deepcode/agentEvent notifications. 8 LSP tests. Editor config snippets for Neovim/Emacs/Sublime. Total 522 tests passing.

Two new packages opening the v1.1 multi-IDE story.

apps/vscode (NEW):
  · package.json — extension manifest: 3 commands (openPanel/run/review),
    activity bar + chat view, configuration (apiKey/model/effort),
    default keybinding Cmd-Shift-D.
  · src/extension.ts — activate/deactivate + ChatViewProvider (webview
    with auto-styled VS Code theme tokens). Lazy `require('vscode')` so
    package builds without @types/vscode installed yet.
  · tsconfig.json (noEmit for now; flips to emit when @vscode/vsce lands).
  · vitest.config.ts — opt-out config so vitest doesn't try to load
    @types/vscode.
  · README.md — install/build/package commands, architecture, commands
    table, settings table, roadmap.

apps/lsp (NEW):
  · src/server.ts — stdio LSP server with proper `Content-Length: N`
    framing. SIGTERM/SIGINT clean exit.
  · src/handler.ts — JSON-RPC dispatcher exposing 3 custom commands
    (deepcode.runAgent / deepcode.abort / deepcode.listSkills) via
    workspace/executeCommand, plus standard LSP boilerplate
    (initialize/initialized/shutdown/exit).
  · 8 unit tests cover: initialize capabilities, runAgent ack + event
    stream, missing prompt error, unknown command, unknown notification.
  · README.md with editor configs for Neovim (lspconfig), Emacs
    (lsp-mode), Sublime (LSP package).
  · bin: deepcode-lsp → dist/server.js

Tiny housekeeping:
  · apps/desktop/electron/main.ts and apps/lsp/src/handler.ts now read
    `s.qualifiedName` / `s.frontmatter.description` from Skill (the
    actual core shape — was using stale s.name/s.description).

Tests: 514 → 522 passing (+8 LSP). Build clean across 6 packages now:
  packages/core, packages/shared-ui, apps/cli, apps/desktop, apps/vscode,
  apps/lsp.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@oratis oratis merged commit c7740df into main May 28, 2026
1 check failed
@oratis oratis deleted the feat/v1.1-vscode-lsp branch May 28, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant